package com.ly.report_ah.sercive.master.impl;

import com.ly.report_ah.dao.master.CompanyMapper;
import com.ly.report_ah.entity.master.Company;
import com.ly.report_ah.sercive.master.CompanyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class CompanyServiceImpl implements CompanyService {

    @Autowired
    private CompanyMapper companyMapper;

    @Override
    public List<Company> getCompany() {
        return companyMapper.getCompany();
    }
}
